package xulong.com.weiyulinked.model;

import lombok.Data;

import java.util.Date;

@Data
public class SessionUser {
    private boolean exists;
    private int sessionId;
    private String username;
    private String lastMessage;
    private Date lastMessageTime;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getLastMessage() {
        return lastMessage;
    }

    public void setLastMessage(String lastMessage) {
        this.lastMessage = lastMessage;
    }

    public Date getLastMessageTime() {
        return lastMessageTime;
    }

    public void setLastMessageTime(Date lastMessageTime) {
        this.lastMessageTime = lastMessageTime;
    }

    public int getId() {
        return sessionId;
    }

    public void setId(int id) {
        this.sessionId = id;
    }
}
